*{
    padding: 0px;
    margin: 0px;

    font-family: "Trebuchet MS";
}

html, body{

}

#tudo{
    width: 100%;
    height: 100%;

    background: url("../images/background.jpg") fixed;

    display: table;
}

#principal{
    background: #fefefd;

    width: 1000px;
    margin: 0 auto;
    display: table;

    border: 1px solid #353535;
    border-top: 0 none;
}

#shadowed_background{
    width: 100%;
    height: 100%;
    
    position: absolute;
    z-index: 5;
    
    top: 0;
    left: 0;
    
    opacity: 0;
    
    background: rgba(0, 0, 0, .5);
    -webkit-transition: opacity 0.5s ease-in;  
    -moz-transition: opacity .5s ease-in;  
    -o-transition: opacity .5s ease-in; 
    transition: opacity .5s ease-in; 
}

#shadowed_background.visible{
    opacity: 1;
}

#preloader{
    padding: 20px 40px;
    margin: 0 auto;
    
    position: absolute;
    top: 150px;
    
    background: rgb(245, 245, 245);
    
    border-radius: 5px;
    border: 5px solid rgb(150, 150, 150);
    
    font-weight: bold;
}

#topo, #conteudo{
    float: left;
    width: 100%;
}

#topo{	
    position: relative;
    height: 120px;
}

#menu_navegacao_barra{
    width: 100%;
    position: absolute;
    bottom: 0px;
    background: #5689de;
    border-top: 1px solid #4578bd;
    border-bottom: 1px solid #4578bd;
}

#menu_navegacao{
    list-style: none;
    display: table;
}

#menu_navegacao li.selected{
    background: #78abef;
}

#menu_navegacao li{
    padding: 3px 8px;
    float: left;
    cursor: pointer;
}

#menu_navegacao li a{
    color: #000;
    text-decoration: none;
}

#menu_navegacao li:hover{
    background: #78abef;
}

#conteudo{
    padding: 3px 0px;
    min-height: 600px;
}

#filtros{
    display: table;
    width: 100%;

    padding: 5px 0px;

    background: #353535;
}

#filtros p{
    float: left;
    padding: 0px 5px;
    font-weight: bold;
    color: #fff;
}

#legend, .list_item{
    width: 499px;
}

#legend{
    padding: 4px 0px;
    display: table;
    font-weight: bold;
    background: rgb(30, 30 , 30);
    color: rgb(250, 250, 250);
}

#legend .item{
    float: left;
    margin: 0px 5px;
}

#list{
    
}

.list_item{
    cursor: pointer;
    background: #cecede;
    padding: 4px 0px;
    display: table;
    margin-bottom: 1px;
}

.list_item .info{
    margin: 0px 5px;
    float: left;
}

.list_item.selected{
    background: #dfdfdf;
}

.list_item:last-child{
    margin-bottom: 0;
}

#parte_esquerda, #parte_direita{
    float: left;
    display: table;
}

#parte_esquerda{
    width: 499px;

    border: 1px solid #000;
    border-left: 0 none;
}

#parte_direita{
    width: 480px;
    padding: 5px 10px;
}

#titulo_pagina{
    margin-bottom: 10px;
    margin-right: 10px;
    float: left;
    font-size: 15pt;
}

/*Controle/Menu da seção de dados*/

#data_section{
    
}

#data_menu{
    
}

#data_menu .button{
    background: rgb(200, 0, 0);
}

#data_menu .disabled{
    background: rgb(200, 180, 180);
}

/*Campos do formulário de dados*/

#fields{
    padding: 5px;
    background: #dedede;

    clear: left;
}

.field{
    color: #353535;
    font-weight: bold;
    padding: 3px 0px;

    width: 470px;

    display: table;
}

.field label{
    width: 220px;
    margin-top: 1px;
    float: left;
}

input.shorter{
    
}

.field.shorter input{
    width: 80px;
    margin-right: 170px;
}

.field.small.datetime select{
    width: 60px;
    height: 24px;
    font-size: 8pt;
}

.field.small.datetime select:focus{
    font-size: 10pt;
}

.field.small.datetime select + select{
    margin-right: 10px;
}

.field.small.datetime select + select + select{
    margin-right: 0px;
}

.field.double input{
    width: 100px;
    margin-right: 50px;
}

.field.double input:last-child{
    margin-right: 0px;
}

.field input.defaultValue{
    font-style: italic;
}

.field input{
    height: 25px;
}

.field input, .field select{
    float: left;
    width: 250px;
    display: table;
}

.field input:focus{
    background: #FFFFCC;
    border: 1px solid;
}

.related_box{
    margin-top: 10px;
    margin-bottom: 10px;
    display: table;
    width: 100%;
}

.related_box .header{
    display: table;
    width: 100%;
    height: 30px;
}

.related_box .button{
    float: right;
    margin-right: 10px;
    font-size: 18pt;
    padding: 0px 8px;
    
    background: rgb(200, 0, 0);
}

.related_box .title{
    font-weight: bold;
    font-size: 16pt;
    padding: 0px 5px;
    float: left;
    line-height: 30px;
}

.related_box .legend{
    display: table;
    margin-top: 5px;
    background: rgb(225, 225, 225);
    width: 100%;
}

.related_box .legend .item{
    float: left;
    margin: 0px 5px;
    padding: 4px 0px;
    font-weight: bold;
    font-size: 10pt;
}

.related_box .list{
    background: rgb(245, 245, 245);
}

.related_box select{
    width: 160px;
}


.related_box input{
    width: 60px;
}

/*Estilo geral dos botões*/
.button{
    float: left;
    padding: 2px 6px;
    margin: 0px 4px;

    border: 1px solid #680000;
    
    border-radius: 4px;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, .8);

    color: #fff;

    font-weight: bold;
    font-size: 10pt;

    cursor: pointer;
}

.button:active{
	
}

.button.disabled{
    background: #A88888;
}

.invisible{
    display: none;
}

.field.birthdate select{
    width: 70px;
    height: 24px;
    font-size: 8pt;
    float: left;
}